package com.groupbuying.currency.producer.domain;

import java.io.Serializable;

import java.math.BigDecimal;


/**
 * 积分支付结果记录表
 * 
 * @author mzfei
 * @email hdmzfei@163.com
 * @date 2019-09-04 09:45:44
 * @des
 */
public class CurrencyResultDO implements Serializable {
	private static final long serialVersionUID = 1L;
	

	/**
	 * id
	 */
	private String resultId;

	/**
	 * 会员id
	 */
	private String customerId;

	/**
	 * 积分操作状态:减扣中-SUCCESS-0,扣减成功-SUCCESS-1,扣减失败-FAIL-2
	 */
	private String state;

	/**
	 * 删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	private String delFlag;

	/**
	 * 创建时间
	 */
	private String createTime;

	/**
	 * 操作时间
	 */
	private String opeTime;

	/**
	 * 操作人
	 */
	private String oper;

	/**
	 * 支付单号
	 */
	private String prepayNo;

	/**
	 * 业务类型描述:扣减积分-currencypay-扣减积分,积分返还-currencyadd-积分返还
	 */
	private String businessType;

	/**
	 * 平台编码
	 */
	private String platformBusnum;

	/**
	 * 操作类型：扣减积分-SUB-2,返还积分-ADD-1
	 */
	private String operType;

	/**
	 * 操作积分
	 */
	private BigDecimal operCurrency;

	/**
	 * 设置：id
	 */
	public void setResultId(String resultId) {
		this.resultId = resultId;
	}
	/**
	 * 获取：id
	 */
	public String getResultId() {
		return resultId;
	}
	/**
	 * 设置：会员id
	 */
	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	/**
	 * 获取：会员id
	 */
	public String getCustomerId() {
		return customerId;
	}
	/**
	 * 设置：积分操作状态:减扣中-SUCCESS-0,扣减成功-SUCCESS-1,扣减失败-FAIL-2
	 */
	public void setState(String state) {
		this.state = state;
	}
	/**
	 * 获取：积分操作状态:减扣中-SUCCESS-0,扣减成功-SUCCESS-1,扣减失败-FAIL-2
	 */
	public String getState() {
		return state;
	}
	/**
	 * 设置：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}
	/**
	 * 获取：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public String getDelFlag() {
		return delFlag;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public String getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：操作时间
	 */
	public void setOpeTime(String opeTime) {
		this.opeTime = opeTime;
	}
	/**
	 * 获取：操作时间
	 */
	public String getOpeTime() {
		return opeTime;
	}
	/**
	 * 设置：操作人
	 */
	public void setOper(String oper) {
		this.oper = oper;
	}
	/**
	 * 获取：操作人
	 */
	public String getOper() {
		return oper;
	}
	/**
	 * 设置：支付单号
	 */
	public void setPrepayNo(String prepayNo) {
		this.prepayNo = prepayNo;
	}
	/**
	 * 获取：支付单号
	 */
	public String getPrepayNo() {
		return prepayNo;
	}
	/**
	 * 设置：业务类型描述:扣减积分-currencypay-扣减积分,积分返还-currencyadd-积分返还
	 */
	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}
	/**
	 * 获取：业务类型描述:扣减积分-currencypay-扣减积分,积分返还-currencyadd-积分返还
	 */
	public String getBusinessType() {
		return businessType;
	}

    public String getPlatformBusnum() {
        return platformBusnum;
    }

    public void setPlatformBusnum(String platformBusnum) {
        this.platformBusnum = platformBusnum;
    }

    /**
	 * 设置：操作类型：扣减积分-SUB-2,返还积分-ADD-1
	 */
	public void setOperType(String operType) {
		this.operType = operType;
	}
	/**
	 * 获取：操作类型：扣减积分-SUB-2,返还积分-ADD-1
	 */
	public String getOperType() {
		return operType;
	}
	/**
	 * 设置：操作积分
	 */
	public void setOperCurrency(BigDecimal operCurrency) {
		this.operCurrency = operCurrency;
	}
	/**
	 * 获取：操作积分
	 */
	public BigDecimal getOperCurrency() {
		return operCurrency;
	}

    @Override
    public String toString() {
        return "CurrencyResultDO{" +
									                    "resultId=" + resultId +
					                										",customerId=" + customerId +
					                										",state=" + state +
					                										",delFlag=" + delFlag +
					                										",createTime=" + createTime +
					                										",opeTime=" + opeTime +
					                										",oper=" + oper +
					                										",prepayNo=" + prepayNo +
					                										",businessType=" + businessType +
					                										",latform Busnum=" + platformBusnum +
					                										",operType=" + operType +
					                										",operCurrency=" + operCurrency +
					                				"}";
    }
}
